package com.itheima.service;

import com.itheima.common.entity.Result;
import com.itheima.pojo.Order;
import com.itheima.pojo.Reserve;

public interface OrderService {

    /**
     * 根据预约id查询预约信息
     * @param id
     * @return
     */
    Order findById(String id);

    /**
     * 体检预约
     * @param reserve
     * @return
     */
    Result submitOrder(Reserve reserve) throws Exception;
}
